#ifndef _ADC_H
#define _ADC_H

#include "def.h"

#ifndef _ADC_C
	#define ADC_GLOBAL 	 extern
#else
	#define  ADC_GLOBAL
#endif

	enum eADC1Channel{
		eADC1_KEY,
		eADC1_CHANNEL_MAX};	
	

ADC_GLOBAL void ADC1Init(void);
ADC_GLOBAL void ADC1DeInit(void);
ADC_GLOBAL u16 GetAdc1Data(char channel);
ADC_GLOBAL U16 adcGetKeyValue(void);
#endif

